/*
 *
 *  * Copyright 2023  腾羚智能, Inc. All rights reserved.
 *
 */

package cn.wuxing.mediation.businessplatform.service;

import cn.wuxing.mediation.businessplatform.domain.vo.ApplicantHistoryListVO;
import cn.wuxing.mediation.businessplatform.domain.vo.BaseBusinessListVO;
import cn.wuxing.mediation.businessplatform.domain.vo.ChangeWindowDetailVO;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *@description: 业务查询
 *@author:
 *@date 2023-09-07 9:59
 *@version: 1.0 <br>
 */
public interface BaseBusinessListService<T extends BaseBusinessListVO> {


    /**
     * 获取业务分页
     *
     * @param request
     * @return
     */
    List<T> getBusinessList(HttpServletRequest request);

    /**
     * 导出
     *
     * @param response
     */
    void importTemplate(HttpServletRequest request, HttpServletResponse response);

    /**
     * 获取申请人历史来访数量
     *
     * @param idCard
     * @return
     */
    Map<String, Integer> getBusinessLgetApplicantHistoryNum(String idCard);

    /**
     *
     * @param idCard
     * @return
     */
    List<ApplicantHistoryListVO> getApplicantHistoryList(String idCard);

    /**
     * 转专窗相亲
     *
     * @param eventId
     * @return
     */
    ChangeWindowDetailVO changeWindowDetail(Long eventId);
}
